import 'package:flutter/material.dart';

class AppConfig {
  static const double SCREEN_WIDTH = 1080.0;
  static const double SCREEN_HEIGHT = 1920.0;

  static const Color THEME_COLOR =  Colors.blue;
  static const Color TOAST_BACKGROUND_COLOR = Color.fromRGBO(225, 225, 225, 0.9);
  static const Color TOAST_TEXT_COLOR = Color.fromRGBO(105, 105, 105, 1);

  static const Color CART_DISABLE_COLOR = Color.fromRGBO(221, 221,221,1.0);
  static const Color CART_ITEM_CHANGE_NUMBT_COLOR = Color.fromRGBO(153, 153, 153, 1.0);

  static const String WX_APP_KEY = "wx67974540b61fe3df";
}

class HttpUrls {
  static const String BASE_UEL = "http://www.cooljiatao.cn/jtsell/";

  ///
  /// 首页轮播
  ///
  static const String SLIDES_URL = BASE_UEL + "slides.json";
  ///
  /// 首页分类
  ///
  static const String CATEGORY_URL = BASE_UEL + "category.json";

  ///
  /// 首页热门商品
  ///
  ///
  static const String GET_MALL_GOODS = "https://wxmini.baixingliangfan.cn/baixing/wxmini/homePageBelowConten";

  static const String GET_GOODS_BY_CATEGORY = "https://wxmini.baixingliangfan.cn/baixing/wxmini/getMallGoods";

  static const String GET_GOODS_BY_ID = "https://wxmini.baixingliangfan.cn/baixing/wxmini/getGoodDetailById";
  static const String WECHAT_PAY_INFO = "https://wxpay.wxutil.com/pub_v2/app/app_pay.php";

  static const String WECHAT_LOGIN = "http://192.168.101.86:8080/jtsell/buyer/wechatLogin";

//  static const String GET_GOODS_BY_ID = BASE_UEL + "getGoodDetailById.json";
}


